package com.ruoyi.web.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 派单对象 operator_record
 * 
 * @author song
 * @date 2024-05-17
 */
public class OperatorRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 做单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "做单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatorTime;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 做单师傅 */
    @Excel(name = "做单师傅")
    private String operatorName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String productNo;

    /** 销售金额 */
    @Excel(name = "销售金额")
    private BigDecimal productPrice;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String productName;

    /** 接单渠道 */
    @Excel(name = "接单渠道")
    private String chatSource;

    /** 转接客服 */
    @Excel(name = "转接客服")
    private String receiveName;

    /** 完成状态 */
    @Excel(name = "完成状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperatorTime(Date operatorTime) 
    {
        this.operatorTime = operatorTime;
    }

    public Date getOperatorTime() 
    {
        return operatorTime;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setProductNo(String productNo) 
    {
        this.productNo = productNo;
    }

    public String getProductNo() 
    {
        return productNo;
    }
    public void setProductPrice(BigDecimal productPrice)
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice()
    {
        return productPrice;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setChatSource(String chatSource) 
    {
        this.chatSource = chatSource;
    }

    public String getChatSource() 
    {
        return chatSource;
    }
    public void setReceiveName(String receiveName) 
    {
        this.receiveName = receiveName;
    }

    public String getReceiveName() 
    {
        return receiveName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operatorTime", getOperatorTime())
            .append("nickname", getNickname())
            .append("operatorName", getOperatorName())
            .append("productNo", getProductNo())
            .append("productPrice", getProductPrice())
            .append("productName", getProductName())
            .append("chatSource", getChatSource())
            .append("receiveName", getReceiveName())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
